package com.facotry.mapper;

import com.facotry.entity.ProduceWorkOrder;

import java.sql.Date;
import java.util.HashMap;
import java.util.List;

/**
 * ------ 天道酬勤 -------
 *
 * @author ChenZihao
 * @date 2024/7/25
 * @desc --- 代码敲烂 月薪过万 ---
 */
public interface ProduceWorkOrderMapper {

    List<ProduceWorkOrder> findAll(HashMap<String, String> map);

    boolean addProduceWorkOrder(ProduceWorkOrder produceWorkOrder);

    boolean delBatchWorkOrders(List<String> ids);

    boolean workOrderDown(ProduceWorkOrder produceWorkOrder);

    boolean workOrderStop(ProduceWorkOrder produceWorkOrder);

    boolean workOrderClose(ProduceWorkOrder produceWorkOrder);
}
